<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2018/11/24 0024
 * Time: 上午 10:04
 */
namespace app\common\validate;

class PersonnelEditValidate extends BaseValidate{
    protected $rule = [
        'p_name' => 'require|isNotEmpty',
        'departmentId' => 'require|isNotEmpty',
    ];

    protected $message = [
        'p_name' => '姓名不能为空',
        'prApdepartmentIdpid' => '部门不能为空',

    ];
}